package com.pa.scratch;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient //开启注册中心
@EnableDiscoveryClient //服务注册与发现   
@MapperScan("com.pa.scratch.mapper")
public class SpringCloudProviderScratch8004Application {

	public static void main(String[] args) {
		SpringApplication.run(SpringCloudProviderScratch8004Application.class, args);
	}

}
